import Layout from '@/views/layout/Layout'

const activity = {
  path: '/intentionalCustomer',
  component: Layout,
  name: 'intentionalCustomer',
  alwaysShow: true,
  meta: { title: 'intentionalCustomer', icon: 'intentionalCustomer' },
  children: [
    {
      path: 'customerlist',
      component: () => import('@/views/pre-sale/intentionalCustomer/customerList/index'),
      name: 'customerlist',
      meta: { title: 'customerlist' }
    },
    {
      path: 'edit-customer/:id',// 新增客户管理
      component: () => import('@/views/pre-sale/intentionalCustomer/customerList/edit/index'),
      name: 'editCustomer',
      hidden: true,
      props:true,
      meta: { title: 'editCustomer' }
    },
    {
      path: 'deal/:id',// 成交
      component: () => import('@/views/pre-sale/intentionalCustomer/deal/index'),
      name: 'deal',
      hidden: true,
      props: true,
      meta: { title: 'deal' }
    },
    {
      path: 'defeat/:id',// 战败
      component: () => import('@/views/pre-sale/intentionalCustomer/defeat'),
      name: 'defeat',
      hidden: true,
      props: true,
      meta: { title: 'defeat' }
    },
    {
      path: 'follow-up/:id',// 跟进
      component: () => import('@/views/pre-sale/intentionalCustomer/followUp'),
      name: 'followUp',
      hidden: true,
      props: true,
      meta: { title: 'followUp' }
    },
    {
      path: 'invitation/:id',// 邀约
      component: () => import('@/views/pre-sale/intentionalCustomer/invitation'),
      name: 'invitation',
      hidden: true,
      props: true,
      meta: { title: 'invitation' }
    },
    {
      path: 'to-the-store/:id',// 到店
      component: () => import('@/views/pre-sale/intentionalCustomer/toTheStore'),
      name: 'toTheStore',
      hidden: true,
      props: true,
      meta: { title: 'toTheStore' }
    },
  ]
}

export default activity
